#!/bin/bash
echo [umount]umount /dev/nbd0p1
umount /dev/nbd0p1
echo [qemu-nbd]disconnect /dev/nbd0
qemu-nbd -d /dev/nbd0